package com.ctsi.ssdc.repository;

import com.ctsi.ssdc.domain.LitemallTopic;
import com.ctsi.ssdc.domain.LitemallTopicExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Param;

/**
 * @author ctsi-biyi-generator
*/
@Mapper
public interface LitemallTopicRepository extends BaseRepository<LitemallTopic, Integer, LitemallTopicExample> {
    @Override
    long countByExample(LitemallTopicExample example);

    @Override
    int deleteByExample(LitemallTopicExample example);

    @Override
    int deleteByPrimaryKey(Integer id);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insert(LitemallTopic record);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insertSelective(LitemallTopic record);

    List<LitemallTopic> selectByExampleWithBLOBs(LitemallTopicExample example);

    @Override
    List<LitemallTopic> selectByExample(LitemallTopicExample example);

    @Override
    LitemallTopic selectByPrimaryKey(Integer id);

    @Override
    int updateByExampleSelective(@Param("record") LitemallTopic record, @Param("example") LitemallTopicExample example);

    int updateByExampleWithBLOBs(@Param("record") LitemallTopic record, @Param("example") LitemallTopicExample example);

    @Override
    int updateByExample(@Param("record") LitemallTopic record, @Param("example") LitemallTopicExample example);

    @Override
    int updateByPrimaryKeySelective(LitemallTopic record);

    int updateByPrimaryKeyWithBLOBs(LitemallTopic record);

    @Override
    int updateByPrimaryKey(LitemallTopic record);

    LitemallTopic selectOneByExampleWithBLOBs(LitemallTopicExample example);

    List<LitemallTopic> selectByExampleSelective(LitemallTopicExample example, LitemallTopic.Column[] columns);
}